package com.shareach.redis;

import java.util.List;


public class RedisConfig {
	private int maxActive;
	private int maxIdle;
	private long maxWait;
	private boolean testOnBorrow;
	private int timeout;
	private List<RedisHost> hosts;
	public int getMaxActive() {
		return maxActive;
	}
	public void setMaxActive(int maxActive) {
		this.maxActive = maxActive;
	}
	public int getMaxIdle() {
		return maxIdle;
	}
	public void setMaxIdle(int maxIdle) {
		this.maxIdle = maxIdle;
	}
	public long getMaxWait() {
		return maxWait;
	}
	public void setMaxWait(long maxWait) {
		this.maxWait = maxWait;
	}
	public boolean getTestOnBorrow() {
		return testOnBorrow;
	}
	public void setTestOnBorrow(boolean testOnBorrow) {
		this.testOnBorrow = testOnBorrow;
	}
	
	public int getTimeout() {
		return timeout;
	}
	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}
	
	public List<RedisHost> getHosts() {
		return hosts;
	}
	public void setHosts(List<RedisHost> hosts) {
		this.hosts = hosts;
	}
	
}
